#!/usr/bin/env python
# encoding: utf-8
"""
    @author:水痕
    @time:2018-08-24 09:06:06:28
    @email:332904234@qq.com
    @version:1.0
    @fileName:urls.py
    @describe:
"""

from django.urls import path, re_path
from .views import book, author, tag

app_name = 'book'
urlpatterns = [
    path('bookList/', book.BookView.as_view()),
    path('author/', author.AuthorView.as_view(), name='author'),
    path('tag/', tag.TagView.as_view(), name='tag'),
    re_path('book_article/(?P<id>.*)/', book.bookById, name='article')
]
